package cn.qf.shop.pojo.qo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
@Data
public class MaintainQO implements Serializable {
    /**
     * 保修的id
     */
    @ApiModelProperty(value="保修的id")
    private Integer maintainId;

    /**
     * 小区的id
     */
    @ApiModelProperty(value="小区的id")
    private Integer cellId;

    /**
     * 报修人
     */
    @ApiModelProperty(value="报修人")
    private String repairs;

    /**
     * 设备名称
     */
    @ApiModelProperty(value="设备名称")
    private String deviceName;

    /**
     * 描述
     */
    @ApiModelProperty(value="描述")
    private String description;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private Date createTime;
private  Date updateTime;
    /**
     * 状态:1->待受理,2->已受理,3->已完成,0->已取消
     */
    @ApiModelProperty(value="状态:1->待受理,2->已受理,3->已完成,0->已取消")
    private Integer status;
    private Integer isDel;

    public MaintainQO() {
    }

    public MaintainQO(Integer maintainId, Integer cellId, String repairs, String deviceName, String description, Date createTime, Date updateTime, Integer status, Integer isDel) {
        this.maintainId = maintainId;
        this.cellId = cellId;
        this.repairs = repairs;
        this.deviceName = deviceName;
        this.description = description;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.status = status;
        this.isDel = isDel;
    }

    public Integer getMaintainId() {
        return maintainId;
    }

    public void setMaintainId(Integer maintainId) {
        this.maintainId = maintainId;
    }

    public Integer getCellId() {
        return cellId;
    }

    public void setCellId(Integer cellId) {
        this.cellId = cellId;
    }

    public String getRepairs() {
        return repairs;
    }

    public void setRepairs(String repairs) {
        this.repairs = repairs;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "MaintainQO{" +
                "maintainId=" + maintainId +
                ", cellId=" + cellId +
                ", repairs='" + repairs + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", description='" + description + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", status=" + status +
                ", isDel=" + isDel +
                '}';
    }
}
